package com.net.wanjian.networkhospitalmanager;

import android.app.Application;
import android.content.Context;

import cn.jpush.android.api.JPushInterface;

/**
 * Description:
 * Created by lidongcai on 2017/4/22.
 * Email:  lidongcaiocc@163.com
 */

public class MyApplication extends Application {

    private  static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();

        JPushInterface.setDebugMode(true);

        JPushInterface.init(this);

        mContext = getApplicationContext();

    }

    public static Context getContext() {
        return mContext;
    }
}
